// 连接数据库
const mysql = require('mysql');

const connection = mysql.createConnection({
    host:'127.0.0.1',
    port:3306,
    users:'root',
    password:'123456',
    database:'blog'
})

module.exports = connection;